Use getInternalUrl() instead of getFullUrl() in purgeList.php . This was potentially...
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 19 Aug 2011 17:20:35 +0000 (17:20 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 19 Aug 2011 17:20:35 +0000 (17:20 +0000)
maintenance/purgeList.php

index 226d8ba..85a7aae 100644 (file)
@@ -52,7 +52,7 @@ class PurgeList extends Maintenance {
                        } elseif ( $page !== '' ) {
                                $title = Title::newFromText( $page );
                                if ( $title ) {
-                                       $url = $title->getFullUrl();
+                                       $url = $title->getInternalUrl();
                                        $this->output( "$url\n" );
                                        $urls[] = $url;
                                        if ( $this->getOption( 'purge' ) ) {
@@ -105,7 +105,7 @@ class PurgeList extends Maintenance {
                        $urls = array();
                        foreach( $result as $row ) {
                                $title = Title::makeTitle( $row->page_namespace, $row->page_title );
-                               $url = $title->getFullUrl();
+                               $url = $title->getInternalUrl();
                                $urls[] = $url;
                        }